<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="com.jiadakeji.ppm.modules.sys.utils.*" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
    <title>单人每日收费明细</title>
    <meta name="decorator" content="default"/>
    <script type="text/javascript">
        $(document).ready(function() {

        });
        function page(n,s){
            $("#pageNo").val(n);
            $("#pageSize").val(s);
            $("#searchForm").submit();
            return false;
        }
    </script>
</head>
<body>
<ul class="nav nav-tabs">
    <li class="active"><a href="${ctx}/business/report/getReportPersonCharge">单人每日收费明细(充值)</a></li>
</ul>
<form:form id="searchForm" modelAttribute="reportPersonDTO" action="${ctx}/business/report/getReportPersonCharge" method="post" class="breadcrumb form-search">
    <label class="control-label">开始时间：</label>
    <input name="beginDate" type="text" readonly="readonly" maxlength="50" class="input-large Wdate "
           value="<fmt:formatDate value="${reportPersonDTO.beginDate}" pattern="yyyy-MM-dd HH:mm:ss"/>"
           onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:false});"/>
    <label class="control-label">结束时间：</label>
    <input name="endDate" type="text" readonly="readonly" maxlength="50" class="input-large Wdate "
           value="<fmt:formatDate value="${reportPersonDTO.endDate}" pattern="yyyy-MM-dd HH:mm:ss"/>"
           onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:false});"/>
    <li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
    <li class="clearfix"></li>
</form:form>
<sys:message content="${message}"/>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
    <thead>
    <tr>
        <th>姓名</th>
        <th>类型</th>
        <th>金额</th>

    </tr>
    </thead>
    <tbody>
    <c:forEach items="${reportList}" var="reportPersonDTO">
        <tr>
            <td>
                    ${reportPersonDTO.userName}
            </td>
            <td>
                    ${fns:getDictLabel(reportPersonDTO.payType,"recharge_type" ,"" )}
            </td>
            <td>
                    ${reportPersonDTO.totalFee}
            </td>
        </tr>
    </c:forEach>
    <tr>
        <td>
            合计：
        </td>
        <td>
            ${totalFee}
        </td>
    </tr>
    </tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>
